package com.tedu.interceptor.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/weibo")
public class WeiboController {
    @RequestMapping("/insert")
    public String insert(){
        System.out.println("WeiboController.insert():发表一篇微博");
        return "发表微博成功";
    }
}
